package authority

import "ginfwk/framework/core/gins"

type AdminAuthority struct {
	Authority
}

func (a *AdminAuthority) Register(r gins.IRoutes) {
	g := r.Group("/authority")
	{
		g.GET("/list", a.Authority.List)

		g.GET("/info", a.Authority.Info)

		g.DELETE("/delete", a.Authority.Delete)

		g.POST("/info", a.Authority.Save)
	}
}
